package com.ds.home;

import java.util.List;
import java.util.Set;

/**
 * Device entity. @author MyEclipse Persistence Tools
 */

public interface EIDevice extends java.io.Serializable {

    public String getDeviceid();

    public Integer getDevicetype();

    public void setDevicetype(Integer devicetype);

    public String getSerialno();

    public void setSerialno(String serialno);

    public Integer getStates();

    public void setStates(Integer states);

    public String getMacaddress();

    public void setMacaddress(String macaddress);

    public String getBatch();

    public void setBatch(String batch);

    public String getFactory();

    public void setFactory(String factory);

    public Long getAddtime();

    public void setAddtime(Long addtime);

    public String getBindingaccount();

    public void setBindingaccount(String bindingaccount);

    public String getChannel();

    public void setChannel(String channel);

    public String getSubsyscode();

    public void setSubsyscode(String subsyscode);

    public String getName();

    public void setName(String name);

    public String getBattery();

    public void setBattery(String battery);

    public String getAreaid();

    public void setAreaid(String areaid);

    public String getPlaceid();

    public void setPlaceid(String placeid);

    public String getAppaccount();

    public void setAppaccount(String appaccount);

    public EISensortype getSensortype();

    public EIDeviceEndPoint addEndPoint(EIDeviceEndPoint endpoint);

    public void removeEndPoint(String znodeId);

    public List<EIDeviceEndPoint> getDeviceEndPoints();

    public Set<String> getDeviceEndPointIds();

    public EIDevice addChildDevice(EIDevice device);

    public void removeChildDevice(String deviceId);

    public EIDevice getRootDevice();

    public List<EIDevice> getChildDevices();

    public Set<String> getChildDeviceIds();


    public Long getLastlogintime() ;

    public void setLastlogintime(Long lastlogintime) ;

    public boolean isRoot();

}